package fr.ants.model.ai.behaviour;

import fr.ants.model.Ant;

/** 
 * <p>Describes ant behaviors. It is an abstract class that just specify ants behaviors must use states.</p>
 *
 * @author Vianney DUPOY DE GUITARD.
 */
public abstract class AntBehavior implements IBehavior<Ant> {

	/** Current state of the ant. */
	private AntState antState;

	/** @return the current state. */
	public AntState getAntState() {
		return antState;
	}

	/**
	 * Sets a new state.
	 * @param antState : the new state.
	 */
	protected void setAntState(AntState antState) {
		this.antState = antState;
	}
}